<%= form_for(@perfil) do |f| %>
  <% if @perfil.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@perfil.errors.count, "error") %> prohibited this perfil from being saved:</h2>

      <ul>
      <% @perfil.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

<table class="table table-striped">
  <tr>
    <th>Perfil</th>
    <td> <%= f.text_field :Perfil , :class => "input-xlarge"%></td>
  </tr>
  <tr>
   <th>Descripción</th> 
   <td><%= f.text_field :Descripcion , :class => "input-xlarge"%></td>
  </tr>

  <tr>
    <td colspan ="3" ><%= f.submit "Guardar",:class => "btn" %></td>
  </tr>

  
</table> 
<% end %>
